﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using OpenAPI.Model.OAuth;
using OpenAPI.IDAL.OAuth;

namespace OpenAPI.DALFactory.OAuth
{
    public class DataAccess
    {

        private static readonly string path = "OAuth.";

        private DataAccess() { }

        /// <summary>
        /// 创建IConsumer对象实例
        /// </summary>
        /// <returns></returns>
        public static IConsumer CreateConsumer()
        {
            return (IConsumer)Utility.ReflectServiceLocator.LocateObject("OpenAPI_DAL", path + "ConsumerDAL");
        }

    }
}
